/*import {
  renderWithQiankun,
  qiankunWindow
} from 'vite-plugin-qiankun/dist/helper';*/
/*import './public-path.js'*/
import {createApp} from 'vue'
import App from './App.vue';
import router from './router/index.js'
//Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

//svg图标
import 'virtual:svg-icons-register';
import SvgIcon from '@/components/SvgIcon/index.vue'


//全局样式
import '@/styles/index.scss'

import i18n from './i18n'


let app;
//render vue
//const {container} = props
app = createApp(App);
app
  .use(router)
  .use(ElementPlus, {locale: zhCn,})
  .use(i18n)
  .component('svg-icon', SvgIcon)

app.mount('#app');
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}


